inherited frmcw_YFPayMasterEdit: Tfrmcw_YFPayMasterEdit
  Left = 364
  Top = 257
  Width = 1331
  Height = 507
  Caption = 'frmcw_YFPayMasterEdit'
  PixelsPerInch = 119
  TextHeight = 18
  inherited CoolBar1: TCoolBar
    Width = 1313
    Bands = <
      item
        Control = ToolBar1
        ImageIndex = -1
        MinHeight = 43
        Width = 1309
      end>
    inherited ToolBar1: TToolBar
      Width = 1296
      Height = 43
      inherited btnComThree: TToolButton
        Left = 521
        Wrap = False
      end
      inherited tbnFirst: TToolButton
        Left = 534
        Top = 0
      end
      inherited tbnPrior: TToolButton
        Left = 577
        Top = 0
      end
      inherited tbnNext: TToolButton
        Left = 620
        Top = 0
      end
      inherited tbnLast: TToolButton
        Left = 663
        Top = 0
      end
      inherited btnComFive: TToolButton
        Left = 706
        Top = 0
      end
      inherited ToolButton1: TToolButton
        Left = 714
        Top = 0
      end
      inherited ToolButton2: TToolButton
        Left = 757
        Top = 0
      end
      inherited btnComSix: TToolButton
        Left = 800
        Top = 0
      end
      inherited tbUpFile: TToolButton
        Left = 808
        Top = 0
      end
      inherited tbDownFile: TToolButton
        Left = 851
        Top = 0
      end
      inherited tbComSeven: TToolButton
        Left = 894
        Top = 0
      end
      inherited tbnPreview: TToolButton
        Left = 904
        Top = 0
      end
      inherited tbnPrint: TToolButton
        Left = 947
        Top = 0
      end
      inherited tbnDesign: TToolButton
        Left = 990
        Top = 0
      end
      inherited tbnClose: TToolButton
        Left = 1033
        Top = 0
      end
    end
  end
  object Panel1: TPanel [1]
    Left = 0
    Top = 62
    Width = 1313
    Height = 399
    Align = alClient
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 1
    object Splitter1: TSplitter
      Left = 2
      Top = 167
      Width = 1309
      Height = 5
      Cursor = crVSplit
      Align = alTop
    end
    object Splitter2: TSplitter
      Left = 2
      Top = 300
      Width = 1309
      Height = 4
      Cursor = crVSplit
      Align = alBottom
    end
    object Panel2: TPanel
      Left = 2
      Top = 2
      Width = 1309
      Height = 165
      Align = alTop
      BevelInner = bvRaised
      BevelOuter = bvLowered
      TabOrder = 0
      object Label1: TLabel
        Left = 24
        Top = 19
        Width = 72
        Height = 18
        Caption = #24212#20184#21333#21495
      end
      object Label2: TLabel
        Left = 336
        Top = 19
        Width = 72
        Height = 18
        Caption = #24212#20184#31867#22411
      end
      object Label4: TLabel
        Left = 648
        Top = 18
        Width = 72
        Height = 18
        Caption = #24320#21333#26085#26399
      end
      object Label6: TLabel
        Left = 24
        Top = 55
        Width = 72
        Height = 18
        Caption = #20379' '#24212' '#21830
      end
      object Label8: TLabel
        Left = 648
        Top = 55
        Width = 72
        Height = 18
        Caption = #28304#21333#31867#22411
      end
      object Label9: TLabel
        Left = 24
        Top = 127
        Width = 72
        Height = 18
        Caption = #22791'    '#27880
      end
      object Label3: TLabel
        Left = 336
        Top = 55
        Width = 72
        Height = 18
        Caption = #28304#21333#32534#21495
      end
      object Label5: TLabel
        Left = 24
        Top = 91
        Width = 72
        Height = 18
        Caption = #24212#20184#37329#39069
      end
      object Label7: TLabel
        Left = 336
        Top = 91
        Width = 72
        Height = 18
        Caption = #24050#20184#37329#39069
      end
      object Label10: TLabel
        Left = 648
        Top = 91
        Width = 72
        Height = 18
        Caption = #20184#27454#24773#20917
      end
      object DBEdit1: TDBEdit
        Left = 120
        Top = 12
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'BillNo'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 4
      end
      object DBComboBoxEh1: TDBComboBoxEh
        Left = 432
        Top = 12
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'BillType'
        DataSource = dsMaster
        DynProps = <>
        EditButton.Visible = False
        EditButtons = <>
        ReadOnly = True
        ShowHint = True
        TabOrder = 3
        Visible = True
      end
      object DBEditEh1: TDBEditEh
        Left = 120
        Top = 48
        Width = 181
        Height = 26
        DataField = 'res_SupplyName'
        DataSource = dsMaster
        DynProps = <>
        EditButtons = <
          item
            Hint = 'V_da_Supply#dsMaster#46'
            Style = ebsEllipsisEh
          end>
        ShowHint = True
        TabOrder = 0
        Visible = True
      end
      object DBDateTimeEditEh1: TDBDateTimeEditEh
        Left = 744
        Top = 12
        Width = 181
        Height = 26
        DataField = 'BillDate'
        DataSource = dsMaster
        DynProps = <>
        EditButtons = <>
        Kind = dtkDateEh
        ShowHint = True
        TabOrder = 2
        Visible = True
      end
      object DBEditEh3: TDBEditEh
        Left = 120
        Top = 120
        Width = 805
        Height = 26
        DataField = 'Remark'
        DataSource = dsMaster
        DynProps = <>
        EditButtons = <>
        ShowHint = True
        TabOrder = 1
        Visible = True
      end
      object DBEdit2: TDBEdit
        Left = 120
        Top = 84
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'SumMoney'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 5
      end
      object DBEdit3: TDBEdit
        Left = 432
        Top = 84
        Width = 109
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'PayMoney'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 6
      end
      object DBComboBoxEh2: TDBComboBoxEh
        Left = 744
        Top = 48
        Width = 181
        Height = 26
        DataField = 'RevType'
        DataSource = dsMaster
        DynProps = <>
        EditButtons = <>
        ShowHint = True
        TabOrder = 7
        Visible = True
      end
      object DBEdit11: TDBEdit
        Left = 540
        Top = 84
        Width = 73
        Height = 26
        Hint = #25240#25187#37329#39069
        TabStop = False
        Color = clBtnFace
        DataField = 'RebateMoney'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 8
      end
      object DBComboBoxEh3: TDBComboBoxEh
        Left = 744
        Top = 84
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'PayStatus'
        DataSource = dsMaster
        DynProps = <>
        EditButton.Visible = False
        EditButtons = <>
        Items.Strings = (
          #26410#20184#27454
          #37096#20998#20184#27454
          #23436#25104#20184#27454
          #26399#26411#32467#36716)
        KeyItems.Strings = (
          '0'
          '1'
          '2'
          '3')
        ReadOnly = True
        ShowHint = True
        TabOrder = 9
        Visible = True
      end
      object DBEditEh2: TDBEditEh
        Left = 432
        Top = 48
        Width = 181
        Height = 26
        DataField = 'RevBillNo'
        DataSource = dsMaster
        DynProps = <>
        EditButtons = <
          item
            Hint = 'V_ck_ProductOut#dsMaster#2#dsMaster|DeptID|SupplyID|RevType'
            Style = ebsEllipsisEh
          end>
        ShowHint = True
        TabOrder = 10
        Visible = True
        OnKeyPress = DBEditEh2KeyPress
      end
    end
    object Panel3: TPanel
      Left = 2
      Top = 304
      Width = 1309
      Height = 93
      Align = alBottom
      BevelInner = bvRaised
      BevelOuter = bvLowered
      TabOrder = 1
      object Label18: TLabel
        Left = 25
        Top = 18
        Width = 72
        Height = 18
        Caption = #39318' '#36755' '#20154
      end
      object Label19: TLabel
        Left = 25
        Top = 55
        Width = 72
        Height = 18
        Caption = #39318#36755#26102#38388
      end
      object Label17: TLabel
        Left = 649
        Top = 55
        Width = 72
        Height = 18
        Caption = #23457#26680#26102#38388
      end
      object Label21: TLabel
        Left = 337
        Top = 55
        Width = 72
        Height = 18
        Caption = #20462#25913#26102#38388
      end
      object Label16: TLabel
        Left = 649
        Top = 18
        Width = 72
        Height = 18
        Caption = #23457' '#26680' '#20154
      end
      object Label20: TLabel
        Left = 337
        Top = 18
        Width = 72
        Height = 18
        Caption = #20462' '#25913' '#20154
      end
      object DBEdit4: TDBEdit
        Left = 120
        Top = 12
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'Writer'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 0
      end
      object DBEdit5: TDBEdit
        Left = 120
        Top = 48
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'WriteTime'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 1
      end
      object DBEdit7: TDBEdit
        Left = 432
        Top = 48
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'ModifyTime'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 2
      end
      object DBEdit9: TDBEdit
        Left = 744
        Top = 48
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'CheckTime'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 3
      end
      object DBEdit6: TDBEdit
        Left = 432
        Top = 12
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'Modifier'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 4
      end
      object DBEdit8: TDBEdit
        Left = 744
        Top = 12
        Width = 181
        Height = 26
        TabStop = False
        Color = clBtnFace
        DataField = 'Checker'
        DataSource = dsMaster
        ReadOnly = True
        TabOrder = 5
      end
    end
    object DBGridEh1: TDBGridEh
      Left = 2
      Top = 172
      Width = 1309
      Height = 128
      Align = alClient
      DataSource = dsDetail
      DynProps = <>
      FooterParams.Color = clWindow
      GridLineParams.VertEmptySpaceStyle = dessNonEh
      IndicatorOptions = [gioShowRowIndicatorEh]
      OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghColumnResize, dghColumnMove]
      TabOrder = 2
      Columns = <
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'Type'
          Footers = <>
          KeyList.Strings = (
            '0'
            '1'
            '2')
          PickList.Strings = (
            #20135#21697
            #36153#29992
            #29289#26009)
          ReadOnly = True
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          ButtonStyle = cbsNone
          DynProps = <>
          EditButtons = <
            item
              Hint = 
                'V_cw_Subject#dsDetail#5#dsMaster|DeptID|BillType|RevType|RevBill' +
                'No|SupplyID#dsDetail|Type'
              Style = ebsEllipsisEh
            end>
          FieldName = 'ProductCode'
          Footers = <>
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'ProductName'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 150
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'Specs'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 150
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'BatchNo'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'ColorCode'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'ColorName'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'RevNumber'
          Footer.ValueType = fvtSum
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'RevPrice'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'RevMoney'
          Footer.ValueType = fvtSum
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          DynProps = <>
          EditButtons = <>
          FieldName = 'Number'
          Footer.ValueType = fvtSum
          Footers = <>
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          ButtonStyle = cbsNone
          DynProps = <>
          EditButtons = <
            item
              Hint = 'V_da_Unit#dsDetail#32#dsDetail|Type|ProductID'
              Style = ebsEllipsisEh
            end>
          FieldName = 'res_UnitName'
          Footers = <>
          Title.TitleButton = True
          Width = 76
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          DynProps = <>
          EditButtons = <>
          FieldName = 'Price'
          Footers = <>
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          DynProps = <>
          EditButtons = <>
          FieldName = 'Money'
          Footer.ValueType = fvtSum
          Footers = <>
          Title.TitleButton = True
          Width = 90
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          DynProps = <>
          EditButtons = <>
          FieldName = 'TaxRate'
          Footers = <>
          Title.TitleButton = True
          Width = 74
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'TaxMoney'
          Footer.ValueType = fvtSum
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 96
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'TotalMoney'
          Footer.ValueType = fvtSum
          Footers = <>
          Title.TitleButton = True
          Width = 96
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'ProjectNo'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'OrderDetailNo'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'Writer'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'WriteTime'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'Modifier'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          Color = clInfoBk
          DynProps = <>
          EditButtons = <>
          FieldName = 'ModifyTime'
          Footers = <>
          ReadOnly = True
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end
        item
          LookupParams.LookupCache = False
          DynProps = <>
          EditButtons = <>
          FieldName = 'Remark'
          Footers = <>
          Title.TitleButton = True
          Width = 120
          AAEditIdent = False
        end>
      object RowDetailData: TRowDetailPanelControlEh
      end
    end
  end
  inherited dsDetail: TDataSource
    DataSet = dtmcw_YFPayMaster.adsDetail
    OnDataChange = dsDetailDataChange
  end
end
